<template>
  <div class="section_common">
    <div class="main">
      <p style="padding-top:5px;font-weight: bold;font-size:20px;text-align: center">入职信息登记</p><br>
      <span style="font-size: small">新人入职当天请通过二维码或OA--人事管理--入职登记入口进行信息登记</span><br><br>
      <!--<p style="font-weight: bold;font-size: 15px">所属地区</p>
      <input type="radio" name="area" id="sz" checked="checked"  style="text-align: left">深圳
      <input type="radio" name="area" id="hf" style="text-align: center">合肥
      <input type="radio" name="area" id="wh" style="text-align: right">武汉-->

      <van-tabs v-model="active">
        <van-tab title="深圳">
          <el-form ref="form" :model="szForm" label-width="100px">
            <!--<el-form-item label="所属地区">
              <el-radio-group v-model="resource">
                <el-radio label="深圳" ></el-radio>
                <el-radio label="合肥" ></el-radio>
                <el-radio label="武汉" ></el-radio>
              </el-radio-group>
            </el-form-item>-->
            <el-form-item label="姓名" required>
              <el-input v-model="szForm.name" size="mini"></el-input>
            </el-form-item>
            <el-form-item label="性别" required>
              <el-select v-model="szForm.gender" :filterable="true" size="mini" placeholder="请选择">
                <el-option value="男"></el-option>
                <el-option value="女"></el-option>
              </el-select>
            </el-form-item>

            <el-form-item label="政治面貌" required>
              <el-select v-model="szForm.politicalStatus" :filterable="true" size="mini" placeholder="请选择">
                <el-option value="群众"></el-option>
                <el-option value="团员"></el-option>
                <el-option value="预备党员"></el-option>
                <el-option value="党员"></el-option>
              </el-select>
            </el-form-item>
            <el-form-item label="籍贯" required >
              <el-input v-model="szForm.hometown" size="mini"></el-input>
            </el-form-item>
            <el-form-item label="民族" required>
              <el-input v-model="szForm.nationality" size="mini"></el-input>
            </el-form-item>
            <el-form-item label="婚育状况" required>
              <el-select v-model="szForm.maritalStatus" :filterable="true" size="mini" placeholder="请选择">
                <el-option value="未婚"></el-option>
                <el-option value="已婚"></el-option>
                <el-option value="离异"></el-option>
                <el-option value="丧偶"></el-option>
              </el-select>
            </el-form-item>
            <el-form-item label="健康状况" required>
              <el-input v-model="szForm.stateOfHealth" size="mini"></el-input>
            </el-form-item>
            <br><br>
            <label style="font-size: small">手动输入格式：例20210101（同下）输完之后点空白地方</label>
            <el-form-item label="出生日期" required>
              <el-date-picker
                      v-model="szForm.dateOfBirth"
                      type="date"
                      placeholder="出生日期"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="毕业时间" required>
              <el-date-picker
                      v-model="szForm.dateOfGraduation"
                      type="date"
                      placeholder="毕业时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="最高学历" required>
              <el-select v-model="szForm.highestEducation" :filterable="true" size="mini" placeholder="请选择">
                <el-option value="小学"></el-option>
                <el-option value="初中"></el-option>
                <el-option value="高中"></el-option>
                <el-option value="中专"></el-option>
                <el-option value="大专"></el-option>
                <el-option value="本科"></el-option>
                <el-option value="硕士"></el-option>
                <el-option value="博士"></el-option>
              </el-select>
            </el-form-item>
            <el-form-item label="职称" required>
              <el-select v-model="szForm.positionName" :filterable="true" size="mini" placeholder="请选择">
                <el-option value="无"></el-option>
                <el-option value="初级"></el-option>
                <el-option value="副级"></el-option>
                <el-option value="中级"></el-option>
                <el-option value="高级"></el-option>
              </el-select>
            </el-form-item>
            <el-form-item label="兴趣爱好">
              <el-input v-model="szForm.hobby" size="mini" placeholder="兴趣爱好"></el-input>
            </el-form-item>
            <el-form-item label="专业技能">
              <el-input v-model="szForm.professionalSkills" size="mini" placeholder="专业技能"></el-input>
            </el-form-item>
            <br><br>
            <label style="font-size: small">本公司认识的朋友/同学/亲戚</label>
            <!--<div>-->
              <el-form-item label="姓名1" >
                <el-input class="szFromKnowName" v-model="szForm.knowName1" size="mini" placeholder="姓名1"></el-input>
              </el-form-item>
              <el-form-item label="关系1" >
                <el-input v-model="szForm.relationship1" size="mini"  placeholder="关系1"></el-input>
              </el-form-item>
            <!--</div>-->

            <el-form-item label="姓名2">
              <el-input class="szFromKnowName" v-model="szForm.knowName2" size="mini" placeholder="姓名2"></el-input>
            </el-form-item>
            <el-form-item label="关系2">
              <el-input v-model="szForm.relationship2" size="mini" placeholder="关系2"></el-input>
            </el-form-item>
            <el-form-item label="姓名3">
              <el-input class="szFromKnowName" v-model="szForm.knowName3" size="mini" placeholder="姓名3"></el-input>
            </el-form-item>
            <el-form-item label="关系3">
              <el-input v-model="szForm.relationship3" size="mini" placeholder="关系3"></el-input>
            </el-form-item>
            <el-form-item label="姓名4">
              <el-input class="szFromKnowName" v-model="szForm.knowName4" size="mini" placeholder="姓名4"></el-input>
            </el-form-item>
            <el-form-item label="关系4">
              <el-input v-model="szForm.relationship4" size="mini" placeholder="关系4"></el-input>
            </el-form-item>
            <el-form-item label="户口所在地址" required>
              <el-input v-model="szForm.accountAddress" size="mini" placeholder="请按身份证地址填写完整"></el-input>
            </el-form-item>
            <el-form-item label="邮编">
              <el-input v-model="szForm.postcode" size="mini" placeholder="邮编"></el-input>
            </el-form-item>
            <el-form-item label="现住址" required>
              <el-input v-model="szForm.currentAddress" size="mini" placeholder="现住址（精确到门牌号）"></el-input>
            </el-form-item>
            <el-form-item label="个人邮箱" required>
              <el-input v-model="szForm.qqMailbox" size="mini" placeholder="个人邮箱"></el-input>
            </el-form-item>
            <el-form-item label="身份证号码" required>
              <el-input v-model="szForm.identificationNumber" size="mini" placeholder="身份证号码"></el-input>
            </el-form-item>
            <el-form-item label="手机号码" required>
              <el-input v-model="szForm.phone" size="mini" placeholder="手机号码"></el-input>
            </el-form-item>
            <el-form-item label="社保电脑号" required>
              <el-input v-model="szForm.socialPhone" size="mini" placeholder="社保电脑号"></el-input>
            </el-form-item>
            <el-form-item label="银行卡号" required>
              <el-input v-model="szForm.chinaMerchantsBankCardNumber" size="mini" placeholder="银行卡号"></el-input>
            </el-form-item>
            <el-form-item label="银行卡所属银行和支行" required>
              <el-input v-model="szForm.bankInfo" size="mini" placeholder="银行卡所属银行和支行"></el-input>
            </el-form-item>
            <br><br>
            <label style="font-size: small">个人学历一（必填）</label>
            <el-form-item label="开始时间" required>
              <!--<el-col :span="11">
                <el-date-picker type="date" placeholder="选择日期" v-model="szForm.eduStartDate" style="width: 100%;"></el-date-picker>
              </el-col>
              <el-col class="line" :span="2">-</el-col>
              <el-col :span="11">
                <el-date-picker placeholder="选择日期" v-model="szForm.eduEndDate" style="width: 100%;"></el-date-picker>
              </el-col>-->
              <!--<el-date-picker
                      v-model="szForm.eduStartDate"
                      type="date"
                      placeholder="选择日期"
                      format="yyyy 年 MM 月 dd 日">
              </el-date-picker>
              <el-date-picker
                      v-model="szForm.eduEndDate"
                      type="date"
                      placeholder="选择日期"
                      format="yyyy 年 MM 月 dd 日">
              </el-date-picker>-->
              <!--<el-date-picker
                      v-model="szForm.eduStartEndDate"
                      type="daterange"
                      range-separator="-"
                      start-placeholder="开始日期"
                      end-placeholder="结束日期">
              </el-date-picker>-->
              <el-date-picker
                      v-model="szForm.eduStartDate"
                      type="date"
                      placeholder="开始时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="结束时间" required>
              <el-date-picker
                      v-model="szForm.eduEndDate"
                      type="date"
                      placeholder="结束时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="毕业学校" required>
              <el-input v-model="szForm.eduGraduatedSchool" size="mini" placeholder="按毕业证/学生证填写"></el-input>
            </el-form-item>
            <el-form-item label="专业" required>
              <el-input v-model="szForm.eduProfession" size="mini" placeholder="按毕业证/学生证填写"></el-input>
            </el-form-item>
            <el-form-item label="学历/学位" required>
              <el-select v-model="szForm.eduDegree" :filterable="true" size="mini" placeholder="请选择">
                <el-option value="小学"></el-option>
                <el-option value="初中"></el-option>
                <el-option value="高中"></el-option>
                <el-option value="中专"></el-option>
                <el-option value="大专"></el-option>
                <el-option value="本科"></el-option>
                <el-option value="硕士"></el-option>
                <el-option value="博士"></el-option>
              </el-select>
            </el-form-item>
            <br><br>
            <label style="font-size: small">个人学历二（选填）</label>
            <el-form-item label="开始时间" >
              <el-date-picker
                      v-model="szForm.eduStartDate1"
                      type="date"
                      placeholder="开始时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="结束时间" >
              <el-date-picker
                      v-model="szForm.eduEndDate1"
                      type="date"
                      placeholder="结束时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="毕业学校" >
              <el-input v-model="szForm.eduGraduatedSchool1" size="mini" placeholder="毕业学校"></el-input>
            </el-form-item>
            <el-form-item label="专业" >
              <el-input v-model="szForm.eduProfession1" size="mini" placeholder="专业"></el-input>
            </el-form-item>
            <el-form-item label="学历/学位" >
              <el-select v-model="szForm.eduDegree1" :filterable="true" size="mini" placeholder="请选择">
                <el-option value="小学"></el-option>
                <el-option value="初中"></el-option>
                <el-option value="高中"></el-option>
                <el-option value="中专"></el-option>
                <el-option value="大专"></el-option>
                <el-option value="本科"></el-option>
                <el-option value="硕士"></el-option>
                <el-option value="博士"></el-option>
              </el-select>
            </el-form-item>
            <br><br>
            <label style="font-size: small">个人经历一</label>
            <el-form-item label="开始时间" required>
              <el-date-picker
                      v-model="szForm.expStartDate"
                      type="date"
                      placeholder="开始时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="结束时间" required>
              <el-date-picker
                      v-model="szForm.expEndDate"
                      type="date"
                      placeholder="结束时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="工作单位" required>
              <el-input v-model="szForm.expWorkUnit" size="mini" placeholder="工作单位"></el-input>
            </el-form-item>
            <el-form-item label="直属主管及联系方式" required>
              <el-input v-model="szForm.expDepartmentHeadAndTelephone" size="mini" placeholder="直属主管及联系方式"></el-input>
            </el-form-item>
            <el-form-item label="人力资源部联系电话" required>
              <el-input v-model="szForm.expPersonnelDepartmentPhone" size="mini" placeholder="人力资源部联系电话"></el-input>
            </el-form-item>
            <br><br>
            <label style="font-size: small">个人经历二</label>
            <el-form-item label="开始时间" >
              <el-date-picker
                      v-model="szForm.expStartDate1"
                      type="date"
                      placeholder="开始时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="结束时间" >
              <el-date-picker
                      v-model="szForm.expEndDate1"
                      type="date"
                      placeholder="结束时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="工作单位" >
              <el-input v-model="szForm.expWorkUnit1" size="mini" placeholder="工作单位"></el-input>
            </el-form-item>
            <el-form-item label="直属主管及联系方式" >
              <el-input v-model="szForm.expDepartmentHeadAndTelephone1" size="mini" placeholder="直属主管及联系方式"></el-input>
            </el-form-item>
            <el-form-item label="人力资源部联系电话" >
              <el-input v-model="szForm.expPersonnelDepartmentPhone1" size="mini" placeholder="人力资源部联系电话"></el-input>
            </el-form-item>
            <br><br>
            <label style="font-size: small">个人经历三</label>
            <el-form-item label="开始时间" >
              <el-date-picker
                      v-model="szForm.expStartDate2"
                      type="date"
                      placeholder="开始时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="结束时间" >
              <el-date-picker
                      v-model="szForm.expEndDate2"
                      type="date"
                      placeholder="结束时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="工作单位" >
              <el-input v-model="szForm.expWorkUnit2" size="mini" placeholder="工作单位"></el-input>
            </el-form-item>
            <el-form-item label="直属主管及联系方式" >
              <el-input v-model="szForm.expDepartmentHeadAndTelephone2" size="mini" placeholder="直属主管及联系方式"></el-input>
            </el-form-item>
            <el-form-item label="人力资源部联系电话" >
              <el-input v-model="szForm.expPersonnelDepartmentPhone2" size="mini" placeholder="人力资源部联系电话"></el-input>
            </el-form-item>
            <br><br>
            <label style="font-size: small">培训情况（选填）</label>
            <el-form-item label="开始时间" >
              <el-date-picker
                      v-model="szForm.traStartDate"
                      type="date"
                      placeholder="开始时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="结束时间" >
              <el-date-picker
                      v-model="szForm.traEndDate"
                      type="date"
                      placeholder="结束时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="培训课程" >
              <el-input v-model="szForm.traCourse" size="mini" placeholder="培训课程"></el-input>
            </el-form-item>
            <el-form-item label="培训性质" >
              <el-input v-model="szForm.traNature" size="mini" placeholder="培训性质"></el-input>
            </el-form-item>
            <el-form-item label="证书" >
              <el-input v-model="szForm.traCertificate" size="mini" placeholder="证书"></el-input>
            </el-form-item>
            <br><br>
            <label style="font-size: small">家庭成员一（必填）</label>
            <el-form-item label="称谓" required>
              <el-input v-model="szForm.famTitle" size="mini" placeholder="称谓"></el-input>
            </el-form-item>
            <el-form-item label="年龄" required>
              <el-input v-model="szForm.famAge" size="mini" placeholder="年龄"></el-input>
            </el-form-item>
            <el-form-item label="姓名" required>
              <el-input v-model="szForm.famName" size="mini" placeholder="姓名"></el-input>
            </el-form-item>
            <el-form-item label="工作单位和地址" required>
              <el-input v-model="szForm.famWorkUnitAndAddress" size="mini" placeholder="工作单位和地址"></el-input>
            </el-form-item>
            <el-form-item label="联系电话" required>
              <el-input v-model="szForm.famPhone" size="mini" placeholder="联系电话"></el-input>
            </el-form-item>
            <br><br>
            <label style="font-size: small">家庭成员二（选填）</label>
            <el-form-item label="称谓" >
              <el-input v-model="szForm.famTitle1" size="mini" placeholder="称谓"></el-input>
            </el-form-item>
            <el-form-item label="年龄" >
              <el-input v-model="szForm.famAge1" size="mini" placeholder="年龄"></el-input>
            </el-form-item>
            <el-form-item label="姓名" >
              <el-input v-model="szForm.famName1" size="mini" placeholder="姓名"></el-input>
            </el-form-item>
            <el-form-item label="工作单位和地址" >
              <el-input v-model="szForm.famWorkUnitAndAddress1" size="mini" placeholder="工作单位和地址"></el-input>
            </el-form-item>
            <el-form-item label="联系电话" >
              <el-input v-model="szForm.famPhone1" size="mini" placeholder="联系电话"></el-input>
            </el-form-item>
            <br><br>
            <label style="font-size: small">家庭成员三（选填）</label>
            <el-form-item label="称谓" >
              <el-input v-model="szForm.famTitle2" size="mini" placeholder="称谓"></el-input>
            </el-form-item>
            <el-form-item label="年龄" >
              <el-input v-model="szForm.famAge2" size="mini" placeholder="年龄"></el-input>
            </el-form-item>
            <el-form-item label="姓名" >
              <el-input v-model="szForm.famName2" size="mini" placeholder="姓名"></el-input>
            </el-form-item>
            <el-form-item label="工作单位和地址" >
              <el-input v-model="szForm.famWorkUnitAndAddress2" size="mini" placeholder="工作单位和地址"></el-input>
            </el-form-item>
            <el-form-item label="联系电话" >
              <el-input v-model="szForm.famPhone2" size="mini" placeholder="联系电话"></el-input>
            </el-form-item>
            <br><br>
            <label style="font-size: small">紧急联络人（必填）</label>
            <el-form-item label="姓名" required>
              <el-input v-model="szForm.emeName" size="mini" placeholder="姓名"></el-input>
            </el-form-item>
            <el-form-item label="职业" required>
              <el-input v-model="szForm.emeWorkUnit" size="mini" placeholder="职业"></el-input>
            </el-form-item>
            <el-form-item label="联系电话" required>
              <el-input v-model="szForm.emePhone" size="mini" placeholder="联系电话"></el-input>
            </el-form-item>

            <el-form-item>
              <el-button type="primary" size="mini" @click="onSubmit" >提交</el-button>
            </el-form-item>

          </el-form>
        </van-tab>
        <van-tab title="合肥">
          <el-form ref="form" :model="hfForm" label-width="100px">
            <!--<el-form-item label="所属地区">
              <el-radio-group v-model="resource">
                <el-radio label="深圳" ></el-radio>
                <el-radio label="合肥" ></el-radio>
                <el-radio label="武汉" ></el-radio>
              </el-radio-group>
            </el-form-item>-->
            <el-form-item label="地点" required>
              <el-input v-model="hfForm.address" size="mini"></el-input>
            </el-form-item>
            <el-form-item label="姓名" required>
              <el-input v-model="hfForm.name" size="mini"></el-input>
            </el-form-item>
            <el-form-item label="性别" required>
              <el-select v-model="hfForm.gender" :filterable="true" size="mini" placeholder="请选择">
                <el-option value="男"></el-option>
                <el-option value="女"></el-option>
              </el-select>
            </el-form-item>
            <el-form-item label="英文名字" required >
              <el-input v-model="hfForm.englishName" size="mini"></el-input>
            </el-form-item>
            <el-form-item label="籍贯" required >
              <el-input v-model="hfForm.hometown" size="mini"></el-input>
            </el-form-item>
            <el-form-item label="民族" required>
              <el-input v-model="hfForm.nationality" size="mini"></el-input>
            </el-form-item>
            <el-form-item label="政治面貌" required>
              <el-select v-model="hfForm.politicalStatus" :filterable="true" size="mini" placeholder="请选择">
                <el-option value="群众"></el-option>
                <el-option value="团员"></el-option>
                <el-option value="预备党员"></el-option>
                <el-option value="党员"></el-option>
              </el-select>
            </el-form-item>
            <el-form-item label="健康状况" required>
              <el-input v-model="hfForm.stateOfHealth" size="mini"></el-input>
            </el-form-item>
            <el-form-item label="出生年月" required>
              <el-date-picker
                      v-model="hfForm.dateOfBirth"
                      type="month"
                      placeholder="出生年月"
                      value-format="yyyy-MM">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="户口所在地址" required>
              <el-input v-model="hfForm.accountAddress" size="mini" placeholder="户口所在地址"></el-input>
            </el-form-item>
            <el-form-item label="现住址" required>
              <el-input v-model="hfForm.currentAddress" size="mini" placeholder="现住址"></el-input>
            </el-form-item>
            <el-form-item label="身份证号码" required>
              <el-input v-model="hfForm.identificationNumber" size="mini" placeholder="身份证号码"></el-input>
            </el-form-item>
            <el-form-item label="QQ邮箱" required>
              <el-input v-model="hfForm.qqMailbox" size="mini" placeholder="QQ邮箱"></el-input>
            </el-form-item>
            <el-form-item label="邮编">
              <el-input v-model="hfForm.postcode" size="mini" placeholder="邮编"></el-input>
            </el-form-item>
            <el-form-item label="婚姻状况" required>
              <el-select v-model="hfForm.maritalStatus" :filterable="true" size="mini" placeholder="请选择">
                <el-option value="未婚"></el-option>
                <el-option value="已婚"></el-option>
              </el-select>
            </el-form-item>
            <el-form-item label="招商银行卡号" required>
              <el-input v-model="hfForm.chinaMerchantsBankCardNumber" size="mini" placeholder="招商银行卡号"></el-input>
            </el-form-item>
            <el-form-item label="手机" required>
              <el-input v-model="hfForm.phone" size="mini" placeholder="手机"></el-input>
            </el-form-item>
            <el-form-item label="英语等级" required>
              <el-input v-model="hfForm.englishLevel" size="mini" placeholder="英语等级"></el-input>
            </el-form-item>
            <el-form-item label="兴趣爱好">
              <el-input v-model="hfForm.hobby" size="mini" placeholder="兴趣爱好"></el-input>
            </el-form-item>


            <label style="font-size: small">个人学历一（必填）</label>
            <el-form-item label="开始时间" required>
              <!--<el-col :span="11">
                <el-date-picker type="date" placeholder="选择日期" v-model="hfForm.eduStartDate" style="width: 100%;"></el-date-picker>
              </el-col>
              <el-col class="line" :span="2">-</el-col>
              <el-col :span="11">
                <el-date-picker placeholder="选择日期" v-model="hfForm.eduEndDate" style="width: 100%;"></el-date-picker>
              </el-col>-->
              <!--<el-date-picker
                      v-model="hfForm.eduStartDate"
                      type="date"
                      placeholder="选择日期"
                      format="yyyy 年 MM 月 dd 日">
              </el-date-picker>
              <el-date-picker
                      v-model="hfForm.eduEndDate"
                      type="date"
                      placeholder="选择日期"
                      format="yyyy 年 MM 月 dd 日">
              </el-date-picker>-->
              <el-date-picker
                      v-model="hfForm.eduStartDate"
                      type="date"
                      placeholder="开始时间"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="结束时间" required>
              <el-date-picker
                      v-model="hfForm.eduEndDate"
                      type="date"
                      placeholder="结束时间"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="毕业学校" required>
              <el-input v-model="hfForm.eduGraduatedSchool" size="mini" placeholder="毕业学校"></el-input>
            </el-form-item>
            <el-form-item label="专业" required>
              <el-input v-model="hfForm.eduProfession" size="mini" placeholder="毕业学校"></el-input>
            </el-form-item>
            <el-form-item label="学历/学位" required>
              <el-select v-model="hfForm.eduDegree" :filterable="true" size="mini" placeholder="请选择">
                <el-option value="高中"></el-option>
                <el-option value="专科"></el-option>
                <el-option value="本科"></el-option>
                <el-option value="硕士"></el-option>
                <el-option value="博士"></el-option>
              </el-select>
            </el-form-item>
            <label style="font-size: small">个人学历二（选填）</label>
            <el-form-item label="开始时间" >
              <el-date-picker
                      v-model="hfForm.eduStartDate1"
                      type="date"
                      placeholder="结束时间"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="结束时间" >
              <el-date-picker
                      v-model="hfForm.eduEndDate1"
                      type="date"
                      placeholder="结束时间"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="毕业学校" >
              <el-input v-model="hfForm.eduGraduatedSchool1" size="mini" placeholder="毕业学校"></el-input>
            </el-form-item>
            <el-form-item label="专业" >
              <el-input v-model="hfForm.eduProfession1" size="mini" placeholder="专业"></el-input>
            </el-form-item>
            <el-form-item label="学历/学位" >
              <el-select v-model="hfForm.eduDegree1" :filterable="true" size="mini" placeholder="请选择">
                <el-option value="高中"></el-option>
                <el-option value="专科"></el-option>
                <el-option value="本科"></el-option>
                <el-option value="硕士"></el-option>
                <el-option value="博士"></el-option>
              </el-select>
            </el-form-item>
            <label style="font-size: small">个人经历一</label>

            <el-form-item label="开始时间" >
              <el-date-picker
                      v-model="hfForm.expStartDate"
                      type="date"
                      placeholder="结束时间"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="结束时间" >
              <el-date-picker
                      v-model="hfForm.expEndDate"
                      type="date"
                      placeholder="结束时间"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="工作单位" >
              <el-input v-model="hfForm.expWorkUnit" size="mini" placeholder="工作单位"></el-input>
            </el-form-item>
            <el-form-item label="职务" >
              <el-input v-model="hfForm.expJobTitle" size="mini" placeholder="职务"></el-input>
            </el-form-item>
            <el-form-item label="部门主管及电话" >
              <el-input v-model="hfForm.expDepartmentHeadAndTelephone" size="mini" placeholder="部门主管及电话"></el-input>
            </el-form-item>
            <el-form-item label="人事部电话" >
              <el-input v-model="hfForm.expPersonnelDepartmentPhone" size="mini" placeholder="人事部电话"></el-input>
            </el-form-item>
            <label style="font-size: small">个人经历二</label>
            <el-form-item label="开始时间" >
              <el-date-picker
                      v-model="hfForm.expStartDate1"
                      type="date"
                      placeholder="结束时间"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="结束时间" >
              <el-date-picker
                      v-model="hfForm.expEndDate1"
                      type="date"
                      placeholder="结束时间"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="工作单位" >
              <el-input v-model="hfForm.expWorkUnit1" size="mini" placeholder="工作单位"></el-input>
            </el-form-item>
            <el-form-item label="职务" >
              <el-input v-model="hfForm.expJobTitle1" size="mini" placeholder="职务"></el-input>
            </el-form-item>
            <el-form-item label="部门主管及电话" >
              <el-input v-model="hfForm.expDepartmentHeadAndTelephone1" size="mini" placeholder="部门主管及电话"></el-input>
            </el-form-item>
            <el-form-item label="人事部电话" >
              <el-input v-model="hfForm.expPersonnelDepartmentPhone1" size="mini" placeholder="人事部电话"></el-input>
            </el-form-item>
            <label style="font-size: small">个人经历三</label>
            <el-form-item label="开始时间" >
              <el-date-picker
                      v-model="hfForm.expStartDate2"
                      type="date"
                      placeholder="结束时间"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="结束时间" >
              <el-date-picker
                      v-model="hfForm.expEndDate2"
                      type="date"
                      placeholder="结束时间"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="工作单位" >
              <el-input v-model="hfForm.expWorkUnit2" size="mini" placeholder="工作单位"></el-input>
            </el-form-item>
            <el-form-item label="职务" >
              <el-input v-model="hfForm.expJobTitle2" size="mini" placeholder="职务"></el-input>
            </el-form-item>
            <el-form-item label="部门主管及电话" >
              <el-input v-model="hfForm.expDepartmentHeadAndTelephone2" size="mini" placeholder="部门主管及电话"></el-input>
            </el-form-item>
            <el-form-item label="人事部电话" >
              <el-input v-model="hfForm.expPersonnelDepartmentPhone2" size="mini" placeholder="人事部电话"></el-input>
            </el-form-item>
            <label style="font-size: small">培训情况（选填）</label>
            <el-form-item label="开始时间" >
              <el-date-picker
                      v-model="hfForm.traStartDate"
                      type="date"
                      placeholder="结束时间"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="结束时间" >
              <el-date-picker
                      v-model="hfForm.traEndDate"
                      type="date"
                      placeholder="结束时间"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="培训课程" >
              <el-input v-model="hfForm.traCourse" size="mini" placeholder="培训课程"></el-input>
            </el-form-item>
            <el-form-item label="培训性质" >
              <el-input v-model="hfForm.traNature" size="mini" placeholder="培训性质"></el-input>
            </el-form-item>
            <el-form-item label="证书" >
              <el-input v-model="hfForm.traCertificate" size="mini" placeholder="证书"></el-input>
            </el-form-item>
            <label style="font-size: small">家庭成员一（必填）</label>
            <el-form-item label="称谓" required>
              <el-input v-model="hfForm.famTitle" size="mini" placeholder="称谓"></el-input>
            </el-form-item>
            <el-form-item label="年龄" required>
              <el-input v-model="hfForm.famAge" size="mini" placeholder="年龄"></el-input>
            </el-form-item>
            <el-form-item label="姓名" required>
              <el-input v-model="hfForm.famName" size="mini" placeholder="姓名"></el-input>
            </el-form-item>
            <el-form-item label="工作单位和地址" required>
              <el-input v-model="hfForm.famWorkUnitAndAddress" size="mini" placeholder="工作单位和地址"></el-input>
            </el-form-item>
            <el-form-item label="联系电话" required>
              <el-input v-model="hfForm.famPhone" size="mini" placeholder="联系电话"></el-input>
            </el-form-item>
            <label style="font-size: small">家庭成员二（选填）</label>
            <el-form-item label="称谓" >
              <el-input v-model="hfForm.famTitle1" size="mini" placeholder="称谓"></el-input>
            </el-form-item>
            <el-form-item label="年龄" >
              <el-input v-model="hfForm.famAge1" size="mini" placeholder="年龄"></el-input>
            </el-form-item>
            <el-form-item label="姓名" >
              <el-input v-model="hfForm.famName1" size="mini" placeholder="姓名"></el-input>
            </el-form-item>
            <el-form-item label="工作单位和地址" >
              <el-input v-model="hfForm.famWorkUnitAndAddress1" size="mini" placeholder="工作单位和地址"></el-input>
            </el-form-item>
            <el-form-item label="联系电话" >
              <el-input v-model="hfForm.famPhone1" size="mini" placeholder="联系电话"></el-input>
            </el-form-item>
            <label style="font-size: small">家庭成员三（选填）</label>
            <el-form-item label="称谓" >
              <el-input v-model="hfForm.famTitle2" size="mini" placeholder="称谓"></el-input>
            </el-form-item>
            <el-form-item label="年龄" >
              <el-input v-model="hfForm.famAge2" size="mini" placeholder="年龄"></el-input>
            </el-form-item>
            <el-form-item label="姓名" >
              <el-input v-model="hfForm.famName2" size="mini" placeholder="姓名"></el-input>
            </el-form-item>
            <el-form-item label="工作单位和地址" >
              <el-input v-model="hfForm.famWorkUnitAndAddress2" size="mini" placeholder="工作单位和地址"></el-input>
            </el-form-item>
            <el-form-item label="联系电话" >
              <el-input v-model="hfForm.famPhone2" size="mini" placeholder="联系电话"></el-input>
            </el-form-item>
            <label style="font-size: small">紧急联络人一（必填）</label>
            <el-form-item label="姓名" required>
              <el-input v-model="hfForm.emeName" size="mini" placeholder="姓名"></el-input>
            </el-form-item>
            <el-form-item label="关系" required>
              <el-input v-model="hfForm.emeRelation" size="mini" placeholder="关系"></el-input>
            </el-form-item>
            <el-form-item label="工作单位" required>
              <el-input v-model="hfForm.emeWorkUnit" size="mini" placeholder="工作单位"></el-input>
            </el-form-item>
            <el-form-item label="住址" required>
              <el-input v-model="hfForm.emeAddress" size="mini" placeholder="住址"></el-input>
            </el-form-item>
            <el-form-item label="联系电话" required>
              <el-input v-model="hfForm.emePhone" size="mini" placeholder="联系电话"></el-input>
            </el-form-item>
            <label style="font-size: small">紧急联络人二（选填）</label>
            <el-form-item label="姓名" >
              <el-input v-model="hfForm.emeName1" size="mini" placeholder="姓名"></el-input>
            </el-form-item>
            <el-form-item label="关系" >
              <el-input v-model="hfForm.emeRelation1" size="mini" placeholder="关系"></el-input>
            </el-form-item>
            <el-form-item label="工作单位" >
              <el-input v-model="hfForm.emeWorkUnit1" size="mini" placeholder="工作单位"></el-input>
            </el-form-item>
            <el-form-item label="住址" >
              <el-input v-model="hfForm.emeAddress1" size="mini" placeholder="住址"></el-input>
            </el-form-item>
            <el-form-item label="联系电话" >
              <el-input v-model="hfForm.emePhone1" size="mini" placeholder="联系电话"></el-input>
            </el-form-item>
            <el-form-item label="公司里认识的朋友/亲戚/同学" required>
              <el-input v-model="hfForm.relationship" size="mini" placeholder="公司里认识的朋友/亲戚/同学"></el-input>
            </el-form-item>
            <el-form-item label="公司里认识的人职位" required>
              <el-input v-model="hfForm.position" size="mini" placeholder="公司里认识的人职位"></el-input>
            </el-form-item>


            <el-form-item>
              <el-button type="primary" size="mini" @click="onSubmit" >提交</el-button>
            </el-form-item>

          </el-form>
        </van-tab>
        <van-tab title="武汉">
          <el-form ref="form" :model="whForm" label-width="100px">
            <!--<el-form-item label="所属地区">
              <el-radio-group v-model="resource">
                <el-radio label="深圳" ></el-radio>
                <el-radio label="合肥" ></el-radio>
                <el-radio label="武汉" ></el-radio>
              </el-radio-group>
            </el-form-item>-->
            <el-form-item label="姓名" required>
              <el-input v-model="whForm.name" size="mini"></el-input>
            </el-form-item>
            <el-form-item label="性别" required>
              <el-select v-model="whForm.gender" :filterable="true" size="mini" placeholder="请选择">
                <el-option value="男"></el-option>
                <el-option value="女"></el-option>
              </el-select>
            </el-form-item>

            <el-form-item label="英文名字">
              <el-input v-model="whForm.englishName" size="mini"></el-input>
            </el-form-item>

            <el-form-item label="籍贯" required >
              <el-input v-model="whForm.hometown" size="mini"></el-input>
            </el-form-item>
            <el-form-item label="民族" required>
              <el-input v-model="whForm.nationality" size="mini"></el-input>
            </el-form-item>
            <el-form-item label="婚育状况" required>
              <el-select v-model="whForm.maritalStatus" :filterable="true" size="mini" placeholder="请选择">
                <el-option value="未婚"></el-option>
                <el-option value="已婚"></el-option>
                <el-option value="离异"></el-option>
                <el-option value="丧偶"></el-option>
              </el-select>
            </el-form-item>
            <el-form-item label="健康状况" required>
              <el-input v-model="whForm.stateOfHealth" size="mini"></el-input>
            </el-form-item>
            <br><br>
            <label style="font-size: small">手动输入格式：例20210101（同下）输完之后点空白地方</label>
            <el-form-item label="出生日期" required>
              <el-date-picker
                      v-model="whForm.dateOfBirth"
                      type="date"
                      placeholder="出生日期"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="政治面貌" required>
              <el-select v-model="whForm.politicalStatus" :filterable="true" size="mini" placeholder="请选择">
                <el-option value="群众"></el-option>
                <el-option value="团员"></el-option>
                <el-option value="预备党员"></el-option>
                <el-option value="党员"></el-option>
              </el-select>
            </el-form-item>

            <el-form-item label="最高学历" required>
              <el-select v-model="whForm.highestEducation" :filterable="true" size="mini" placeholder="请选择">
                <el-option value="小学"></el-option>
                <el-option value="初中"></el-option>
                <el-option value="高中"></el-option>
                <el-option value="中专"></el-option>
                <el-option value="大专"></el-option>
                <el-option value="本科"></el-option>
                <el-option value="硕士"></el-option>
                <el-option value="博士"></el-option>
              </el-select>
            </el-form-item>

            <el-form-item label="专业技能特长">
              <el-input v-model="whForm.professionalSkills" size="mini" placeholder="专业技能特长"></el-input>
            </el-form-item>
            <el-form-item label="兴趣爱好">
              <el-input v-model="whForm.hobby" size="mini" placeholder="兴趣爱好"></el-input>
            </el-form-item>
            <br><br>
            <el-form-item label="户口所在地址" required>
              <el-input v-model="whForm.accountAddress" size="mini" placeholder="请按身份证地址填写完整"></el-input>
            </el-form-item>
            <el-form-item label="邮编">
              <el-input v-model="whForm.postcode" size="mini" placeholder="邮编"></el-input>
            </el-form-item>
            <el-form-item label="现住址" required>
              <el-input v-model="whForm.currentAddress" size="mini" placeholder="现住址（精确到门牌号）"></el-input>
            </el-form-item>
            <el-form-item label="QQ邮箱" required>
              <el-input v-model="whForm.qqMailbox" size="mini" placeholder="QQ邮箱"></el-input>
            </el-form-item>


            <label style="font-size: small">本公司认识的朋友/同学/亲戚</label>
            <!--<div>-->
            <el-form-item label="姓名1" >
              <el-input class="szFromKnowName" v-model="whForm.knowName1" size="mini" placeholder="姓名1"></el-input>
            </el-form-item>
            <el-form-item label="关系1" >
              <el-input v-model="whForm.relationship1" size="mini"  placeholder="关系1"></el-input>
            </el-form-item>
            <!--</div>-->

            <el-form-item label="姓名2">
              <el-input class="szFromKnowName" v-model="whForm.knowName2" size="mini" placeholder="姓名2"></el-input>
            </el-form-item>
            <el-form-item label="关系2">
              <el-input v-model="whForm.relationship2" size="mini" placeholder="关系2"></el-input>
            </el-form-item>

            <el-form-item label="身份证号码" required>
              <el-input v-model="whForm.identificationNumber" size="mini" placeholder="身份证号码"></el-input>
            </el-form-item>
            <el-form-item label="手机号码" required>
              <el-input v-model="whForm.phone" size="mini" placeholder="手机号码"></el-input>
            </el-form-item>
            <el-form-item label="招聘人" required>
              <el-input v-model="whForm.recPerson" size="mini" placeholder="招聘人"></el-input>
            </el-form-item>
            <el-form-item label="招商银行卡号">
              <el-input v-model="whForm.chinaMerchantsBankCardNumber" size="mini" placeholder="招商银行卡号"></el-input>
            </el-form-item>
            <el-form-item label="社保卡号" required>
              <el-input v-model="whForm.socialPhone" size="mini" placeholder="社保卡号"></el-input>
            </el-form-item>
            <el-form-item label="公积金卡号" required>
              <el-input v-model="whForm.pfcNumber" size="mini" placeholder="公积金卡号"></el-input>
            </el-form-item>
            <br><br>
            <label style="font-size: small">个人学历一（必填）</label>
            <el-form-item label="开始时间" required>
              <!--<el-col :span="11">
                <el-date-picker type="date" placeholder="选择日期" v-model="whForm.eduStartDate" style="width: 100%;"></el-date-picker>
              </el-col>
              <el-col class="line" :span="2">-</el-col>
              <el-col :span="11">
                <el-date-picker placeholder="选择日期" v-model="whForm.eduEndDate" style="width: 100%;"></el-date-picker>
              </el-col>-->
              <!--<el-date-picker
                      v-model="whForm.eduStartDate"
                      type="date"
                      placeholder="选择日期"
                      format="yyyy 年 MM 月 dd 日">
              </el-date-picker>
              <el-date-picker
                      v-model="whForm.eduEndDate"
                      type="date"
                      placeholder="选择日期"
                      format="yyyy 年 MM 月 dd 日">
              </el-date-picker>-->
              <!--<el-date-picker
                      v-model="whForm.eduStartEndDate"
                      type="daterange"
                      range-separator="-"
                      start-placeholder="开始日期"
                      end-placeholder="结束日期">
              </el-date-picker>-->
              <el-date-picker
                      v-model="whForm.eduStartDate"
                      type="date"
                      placeholder="开始时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="结束时间" required>
              <el-date-picker
                      v-model="whForm.eduEndDate"
                      type="date"
                      placeholder="结束时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="毕业学校" required>
              <el-input v-model="whForm.eduGraduatedSchool" size="mini" placeholder="按毕业证/学生证填写"></el-input>
            </el-form-item>
            <el-form-item label="专业" required>
              <el-input v-model="whForm.eduProfession" size="mini" placeholder="按毕业证/学生证填写"></el-input>
            </el-form-item>
            <el-form-item label="学历/学位" required>
              <el-select v-model="whForm.eduDegree" :filterable="true" size="mini" placeholder="请选择">
                <el-option value="小学"></el-option>
                <el-option value="初中"></el-option>
                <el-option value="高中"></el-option>
                <el-option value="中专"></el-option>
                <el-option value="大专"></el-option>
                <el-option value="本科"></el-option>
                <el-option value="硕士"></el-option>
                <el-option value="博士"></el-option>
              </el-select>
            </el-form-item>
            <br><br>
            <label style="font-size: small">个人学历二（选填）</label>
            <el-form-item label="开始时间" >
              <el-date-picker
                      v-model="whForm.eduStartDate1"
                      type="date"
                      placeholder="开始时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="结束时间" >
              <el-date-picker
                      v-model="whForm.eduEndDate1"
                      type="date"
                      placeholder="结束时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="毕业学校" >
              <el-input v-model="whForm.eduGraduatedSchool1" size="mini" placeholder="毕业学校"></el-input>
            </el-form-item>
            <el-form-item label="专业" >
              <el-input v-model="whForm.eduProfession1" size="mini" placeholder="专业"></el-input>
            </el-form-item>
            <el-form-item label="学历/学位" >
              <el-select v-model="whForm.eduDegree1" :filterable="true" size="mini" placeholder="请选择">
                <el-option value="小学"></el-option>
                <el-option value="初中"></el-option>
                <el-option value="高中"></el-option>
                <el-option value="中专"></el-option>
                <el-option value="大专"></el-option>
                <el-option value="本科"></el-option>
                <el-option value="硕士"></el-option>
                <el-option value="博士"></el-option>
              </el-select>
            </el-form-item>
            <br><br>
            <label style="font-size: small">个人经历一</label>
            <el-form-item label="开始时间" required>
              <el-date-picker
                      v-model="whForm.expStartDate"
                      type="date"
                      placeholder="开始时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="结束时间" required>
              <el-date-picker
                      v-model="whForm.expEndDate"
                      type="date"
                      placeholder="结束时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="工作单位" required>
              <el-input v-model="whForm.expWorkUnit" size="mini" placeholder="工作单位"></el-input>
            </el-form-item>
            <el-form-item label="直属主管及联系方式" required>
              <el-input v-model="whForm.expDepartmentHeadAndTelephone" size="mini" placeholder="直属主管及联系方式"></el-input>
            </el-form-item>
            <el-form-item label="人力资源部联系电话" required>
              <el-input v-model="whForm.expPersonnelDepartmentPhone" size="mini" placeholder="人力资源部联系电话"></el-input>
            </el-form-item>
            <br><br>
            <label style="font-size: small">个人经历二</label>
            <el-form-item label="开始时间" >
              <el-date-picker
                      v-model="whForm.expStartDate1"
                      type="date"
                      placeholder="开始时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="结束时间" >
              <el-date-picker
                      v-model="whForm.expEndDate1"
                      type="date"
                      placeholder="结束时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="工作单位" >
              <el-input v-model="whForm.expWorkUnit1" size="mini" placeholder="工作单位"></el-input>
            </el-form-item>
            <el-form-item label="直属主管及联系方式" >
              <el-input v-model="whForm.expDepartmentHeadAndTelephone1" size="mini" placeholder="直属主管及联系方式"></el-input>
            </el-form-item>
            <el-form-item label="人力资源部联系电话" >
              <el-input v-model="whForm.expPersonnelDepartmentPhone1" size="mini" placeholder="人力资源部联系电话"></el-input>
            </el-form-item>
            <br><br>
            <label style="font-size: small">个人经历三</label>
            <el-form-item label="开始时间" >
              <el-date-picker
                      v-model="whForm.expStartDate2"
                      type="date"
                      placeholder="开始时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="结束时间" >
              <el-date-picker
                      v-model="whForm.expEndDate2"
                      type="date"
                      placeholder="结束时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="工作单位" >
              <el-input v-model="whForm.expWorkUnit2" size="mini" placeholder="工作单位"></el-input>
            </el-form-item>
            <el-form-item label="直属主管及联系方式" >
              <el-input v-model="whForm.expDepartmentHeadAndTelephone2" size="mini" placeholder="直属主管及联系方式"></el-input>
            </el-form-item>
            <el-form-item label="人力资源部联系电话" >
              <el-input v-model="whForm.expPersonnelDepartmentPhone2" size="mini" placeholder="人力资源部联系电话"></el-input>
            </el-form-item>
            <br><br>
            <label style="font-size: small">培训情况（选填）</label>
            <el-form-item label="开始时间" >
              <el-date-picker
                      v-model="whForm.traStartDate"
                      type="date"
                      placeholder="开始时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="结束时间" >
              <el-date-picker
                      v-model="whForm.traEndDate"
                      type="date"
                      placeholder="结束时间"
                      format="yyyyMMdd"
                      value-format="yyyyMMdd">
              </el-date-picker>
            </el-form-item>
            <el-form-item label="培训课程" >
              <el-input v-model="whForm.traCourse" size="mini" placeholder="培训课程"></el-input>
            </el-form-item>
            <el-form-item label="培训性质" >
              <el-input v-model="whForm.traNature" size="mini" placeholder="培训性质"></el-input>
            </el-form-item>
            <el-form-item label="证书" >
              <el-input v-model="whForm.traCertificate" size="mini" placeholder="证书"></el-input>
            </el-form-item>
            <br><br>
            <label style="font-size: small">家庭成员一（必填）</label>
            <el-form-item label="称谓" required>
              <el-input v-model="whForm.famTitle" size="mini" placeholder="称谓"></el-input>
            </el-form-item>
            <el-form-item label="年龄" required>
              <el-input v-model="whForm.famAge" size="mini" placeholder="年龄"></el-input>
            </el-form-item>
            <el-form-item label="姓名" required>
              <el-input v-model="whForm.famName" size="mini" placeholder="姓名"></el-input>
            </el-form-item>
            <el-form-item label="工作单位和地址" required>
              <el-input v-model="whForm.famWorkUnitAndAddress" size="mini" placeholder="工作单位和地址"></el-input>
            </el-form-item>
            <el-form-item label="联系电话" required>
              <el-input v-model="whForm.famPhone" size="mini" placeholder="联系电话"></el-input>
            </el-form-item>
            <br><br>
            <label style="font-size: small">家庭成员二（选填）</label>
            <el-form-item label="称谓" >
              <el-input v-model="whForm.famTitle1" size="mini" placeholder="称谓"></el-input>
            </el-form-item>
            <el-form-item label="年龄" >
              <el-input v-model="whForm.famAge1" size="mini" placeholder="年龄"></el-input>
            </el-form-item>
            <el-form-item label="姓名" >
              <el-input v-model="whForm.famName1" size="mini" placeholder="姓名"></el-input>
            </el-form-item>
            <el-form-item label="工作单位和地址" >
              <el-input v-model="whForm.famWorkUnitAndAddress1" size="mini" placeholder="工作单位和地址"></el-input>
            </el-form-item>
            <el-form-item label="联系电话" >
              <el-input v-model="whForm.famPhone1" size="mini" placeholder="联系电话"></el-input>
            </el-form-item>
            <br><br>
            <label style="font-size: small">家庭成员三（选填）</label>
            <el-form-item label="称谓" >
              <el-input v-model="whForm.famTitle2" size="mini" placeholder="称谓"></el-input>
            </el-form-item>
            <el-form-item label="年龄" >
              <el-input v-model="whForm.famAge2" size="mini" placeholder="年龄"></el-input>
            </el-form-item>
            <el-form-item label="姓名" >
              <el-input v-model="whForm.famName2" size="mini" placeholder="姓名"></el-input>
            </el-form-item>
            <el-form-item label="工作单位和地址" >
              <el-input v-model="whForm.famWorkUnitAndAddress2" size="mini" placeholder="工作单位和地址"></el-input>
            </el-form-item>
            <el-form-item label="联系电话" >
              <el-input v-model="whForm.famPhone2" size="mini" placeholder="联系电话"></el-input>
            </el-form-item>
            <br><br>
            <label style="font-size: small">紧急联络人（必填）</label>
            <el-form-item label="姓名" required>
              <el-input v-model="whForm.emeName" size="mini" placeholder="姓名"></el-input>
            </el-form-item>
            <el-form-item label="关系" required>
              <el-input v-model="whForm.emeWorkUnit" size="mini" placeholder="关系"></el-input>
            </el-form-item>
            <el-form-item label="联系电话" required>
              <el-input v-model="whForm.emePhone" size="mini" placeholder="联系电话"></el-input>
            </el-form-item>

            <el-form-item>
              <el-button type="primary" size="mini" @click="onSubmit" >提交</el-button>
            </el-form-item>

          </el-form>

        </van-tab>
      </van-tabs>

    </div>
  </div>
</template>

<script>
  import Vue from 'vue';
  import { Toast, Calendar,Form  } from "vant";
  import { Image as VanImage } from 'vant';
  import { Tab, Tabs } from 'vant';

  Vue.use(Tab);
  Vue.use(Tabs);
  Vue.use(VanImage);
  Vue.use(Calendar);
  Vue.use(Form);
export default {

  data() {
    return {
      active:0,
      resource:'',
      szForm:{
        name:'',
        gender:'',
        hometown:'',
        nationality:'',
        politicalStatus:'',
        maritalStatus:'',
        stateOfHealth:'',
        dateOfBirth:'',
        dateOfGraduation:'',
        highestEducation:'',
        positionName:'',
        hobby:'',
        professionalSkills:'',
        accountAddress:'',
        postcode:'',
        currentAddress:'',
        qqMailbox:'',
        identificationNumber:'',
        phone:'',
        socialPhone:'',
        chinaMerchantsBankCardNumber:'',
        bankInfo:'',

        photo:'',
        createTime:'',
        emeName:'',
        emeWorkUnit:'',
        emePhone:'',
        /**
         * 认识人列表
         */
        /*relationshipList:[
          {
            knowName:'',
            relationship:'',
          },
          {
            knowName:'',
            relationship:'',
          }
        ],*/
        knowName1:'',
        relationship1:'',
        knowName2:'',
        relationship2:'',
        knowName3:'',
        relationship3:'',
        knowName4:'',
        relationship4:'',
        /**
         * 个人学历列表
         */
        eduStartDate:'',
        eduEndDate:'',

        eduStartEndDate:'',
        eduGraduatedSchool:'',
        eduProfession:'',
        eduDegree:'',

        eduStartDate1:'',
        eduEndDate1:'',

        eduStartEndDate1:'',
        eduGraduatedSchool1:'',
        eduProfession1:'',
        eduDegree1:'',
        /**
         * 个人经历
         */
        expStartDate:'',
        expEndDate:'',

        expStartEndTime:'',
        expWorkUnit:'',
        expDepartmentHeadAndTelephone:'',
        expPersonnelDepartmentPhone:'',

        expStartDate1:'',
        expEndDate1:'',

        expStartEndTime1:'',
        expWorkUnit1:'',
        expDepartmentHeadAndTelephone1:'',
        expPersonnelDepartmentPhone1:'',

        expStartDate2:'',
        expEndDate2:'',

        expStartEndTime2:'',
        expWorkUnit2:'',
        expDepartmentHeadAndTelephone2:'',
        expPersonnelDepartmentPhone2:'',
        /**
         * 培训情况
         */
        traStartDate:'',
        traEndDate:'',
        traTime:'',
        traCourse:'',
        traNature:'',
        traCertificate:'',

        /**
         * 家庭成员列表
         */
        famTitle:'',
        famAge:'',
        famName:'',
        famWorkUnitAndAddress:'',
        famPhone:'',
        famTitle1:'',
        famAge1:'',
        famName1:'',
        famWorkUnitAndAddress1:'',
        famPhone1:'',
        famTitle2:'',
        famAge2:'',
        famName2:'',
        famWorkUnitAndAddress2:'',
        famPhone2:'',
      },
      hfForm:{
        address:'',
        name:'',
        gender:'',
        englishName:'',
        hometown:'',
        nationality:'',
        maritalStatus:'',
        politicalStatus:'',
        stateOfHealth:'',
        dateOfBirth:'',
        hobby:'',
        accountAddress:'',
        postcode:'',
        currentAddress:'',
        qqMailbox:'',
        identificationNumber:'',
        phone:'',
        englishLevel:'',
        socialPhone:'',
        chinaMerchantsBankCardNumber:'',
        photo:'',
        createTime:'',
        relationship:'',
        position:'',

        /**
         * 个人学历列表
         */
        eduStartDate:'',
        eduEndDate:'',

        eduStartEndDate:'',
        eduGraduatedSchool:'',
        eduProfession:'',
        eduDegree:'',

        eduStartDate1:'',
        eduEndDate1:'',

        eduStartEndDate1:'',
        eduGraduatedSchool1:'',
        eduProfession1:'',
        eduDegree1:'',
        /**
         * 个人经历
         */
        expStartDate:'',
        expEndDate:'',

        expStartEndTime:'',
        expWorkUnit:'',
        expJobTitle:'',
        expDepartmentHeadAndTelephone:'',
        expPersonnelDepartmentPhone:'',

        expStartDate1:'',
        expEndDate1:'',

        expStartEndTime1:'',
        expWorkUnit1:'',
        expJobTitle1:'',
        expDepartmentHeadAndTelephone1:'',
        expPersonnelDepartmentPhone1:'',

        expStartDate2:'',
        expEndDate2:'',

        expStartEndTime2:'',
        expWorkUnit2:'',
        expJobTitle2:'',
        expDepartmentHeadAndTelephone2:'',
        expPersonnelDepartmentPhone2:'',
        /**
         * 培训情况
         */
        traStartDate:'',
        traEndDate:'',
        traTime:'',
        traCourse:'',
        traNature:'',
        traCertificate:'',

        /**
         * 家庭成员列表
         */
        famTitle:'',
        famAge:'',
        famName:'',
        famWorkUnitAndAddress:'',
        famPhone:'',
        famTitle1:'',
        famAge1:'',
        famName1:'',
        famWorkUnitAndAddress1:'',
        famPhone1:'',
        famTitle2:'',
        famAge2:'',
        famName2:'',
        famWorkUnitAndAddress2:'',
        famPhone2:'',

        /**
         * 紧急联络人列表
         */
        emeName:'',
        emeRelation:'',
        emeWorkUnit:'',
        emeAddress:'',
        emePhone:'',
        emeName1:'',
        emeRelation1:'',
        emeWorkUnit1:'',
        emeAddress1:'',
        emePhone1:'',


      },
      whForm:{
        name:'',
        gender:'',
        englishName:'',
        hometown:'',
        nationality:'',
        politicalStatus:'',
        maritalStatus:'',
        stateOfHealth:'',
        dateOfBirth:'',
        highestEducation:'',
        positionName:'',
        hobby:'',
        professionalSkills:'',
        accountAddress:'',
        postcode:'',
        currentAddress:'',
        qqMailbox:'',
        identificationNumber:'',
        phone:'',
        recPerson:'',
        socialPhone:'',
        pfcNumber:'',
        chinaMerchantsBankCardNumber:'',


        photo:'',
        createTime:'',
        emeName:'',
        emeWorkUnit:'',
        emePhone:'',
        /**
         * 认识人列表
         */
        /*relationshipList:[
          {
            knowName:'',
            relationship:'',
          },
          {
            knowName:'',
            relationship:'',
          }
        ],*/
        knowName1:'',
        relationship1:'',
        knowName2:'',
        relationship2:'',
        /**
         * 个人学历列表
         */
        eduStartDate:'',
        eduEndDate:'',

        eduStartEndDate:'',
        eduGraduatedSchool:'',
        eduProfession:'',
        eduDegree:'',

        eduStartDate1:'',
        eduEndDate1:'',

        eduStartEndDate1:'',
        eduGraduatedSchool1:'',
        eduProfession1:'',
        eduDegree1:'',
        /**
         * 个人经历
         */
        expStartDate:'',
        expEndDate:'',

        expStartEndTime:'',
        expWorkUnit:'',
        expDepartmentHeadAndTelephone:'',
        expPersonnelDepartmentPhone:'',

        expStartDate1:'',
        expEndDate1:'',

        expStartEndTime1:'',
        expWorkUnit1:'',
        expDepartmentHeadAndTelephone1:'',
        expPersonnelDepartmentPhone1:'',

        expStartDate2:'',
        expEndDate2:'',

        expStartEndTime2:'',
        expWorkUnit2:'',
        expDepartmentHeadAndTelephone2:'',
        expPersonnelDepartmentPhone2:'',
        /**
         * 培训情况
         */
        traStartDate:'',
        traEndDate:'',
        traTime:'',
        traCourse:'',
        traNature:'',
        traCertificate:'',

        /**
         * 家庭成员列表
         */
        famTitle:'',
        famAge:'',
        famName:'',
        famWorkUnitAndAddress:'',
        famPhone:'',
        famTitle1:'',
        famAge1:'',
        famName1:'',
        famWorkUnitAndAddress1:'',
        famPhone1:'',
        famTitle2:'',
        famAge2:'',
        famName2:'',
        famWorkUnitAndAddress2:'',
        famPhone2:'',
      },



    };
  },
  created() {
    this.nowUser=JSON.parse(localStorage.getItem('userInfo')).userId;

  },

  methods: {

    // 返回
    goBack() {
      this.$router.go(-1);
    },
    onSubmit() {
      if(this.active == '0'){

        //提交事件
        this.$https.post('/mobiles/sysEmployeeEntryRegistrationAddSZItem',{
                  name:this.szForm.name,
                  gender:this.szForm.gender,
                  hometown:this.szForm.hometown,
                  nationality:this.szForm.nationality,
                  politicalStatus:this.szForm.politicalStatus,
                  maritalStatus:this.szForm.maritalStatus,
                  stateOfHealth:this.szForm.stateOfHealth,
                  dateOfBirth:this.szForm.dateOfBirth,
                  dateOfGraduation:this.szForm.dateOfGraduation,
                  highestEducation:this.szForm.highestEducation,
                  positionName:this.szForm.positionName,
                  hobby:this.szForm.hobby,
                  professionalSkills:this.szForm.professionalSkills,
                  accountAddress:this.szForm.accountAddress,
                  postcode:this.szForm.postcode,
                  currentAddress:this.szForm.currentAddress,
                  qqMailbox:this.szForm.qqMailbox,
                  identificationNumber:this.szForm.identificationNumber,
                  phone:this.szForm.phone,
                  socialPhone:this.szForm.socialPhone,
                  chinaMerchantsBankCardNumber:this.szForm.chinaMerchantsBankCardNumber,
                  bankInfo:this.szForm.bankInfo,
                  photo:this.szForm.photo,
                  createTime:this.szForm.createTime,
                  emeName:this.szForm.emeName,
                  emeWorkUnit:this.szForm.emeWorkUnit,
                  emePhone:this.szForm.emePhone,
                  /**
                   * 认识的人列表
                   * */
                  relationshipList:[
                    {
                      knowName: this.szForm.knowName1,
                      relationship: this.szForm.relationship1
                    },
                    {
                      knowName: this.szForm.knowName2,
                      relationship: this.szForm.relationship2
                    },
                    {
                      knowName: this.szForm.knowName3,
                      relationship: this.szForm.relationship3
                    },
                    {
                      knowName: this.szForm.knowName4,
                      relationship: this.szForm.relationship4
                    }
                  ],
                  /**
                   * 个人学历列表
                   * */
                  educationList:[
                    {
                      eduStartEndDate:this.szForm.eduStartDate + '-' + this.szForm.eduEndDate,
                      eduGraduatedSchool:this.szForm.eduGraduatedSchool,
                      eduProfession:this.szForm.eduProfession,
                      eduDegree:this.szForm.eduDegree,
                    },
                    {
                      eduStartEndDate:this.szForm.eduStartDate1 + '-' + this.szForm.eduEndDate1,
                      eduGraduatedSchool:this.szForm.eduGraduatedSchool1,
                      eduProfession:this.szForm.eduProfession1,
                      eduDegree:this.szForm.eduDegree1,
                    },
                  ],
                  /**
                   * 个人经历列表
                   * */
                  experienceList:[
                    {
                      expStartEndTime:this.szForm.expStartDate + '-' + this.szForm.expEndDate,
                      expWorkUnit:this.szForm.expWorkUnit,
                      expDepartmentHeadAndTelephone:this.szForm.expDepartmentHeadAndTelephone,
                      expPersonnelDepartmentPhone:this.szForm.expPersonnelDepartmentPhone,
                    },{
                      expStartEndTime:this.szForm.expStartDate1 + '-' + this.szForm.expEndDate1,
                      expWorkUnit:this.szForm.expWorkUnit1,
                      expDepartmentHeadAndTelephone:this.szForm.expDepartmentHeadAndTelephone1,
                      expPersonnelDepartmentPhone:this.szForm.expPersonnelDepartmentPhone1,
                    },{
                      expStartEndTime:this.szForm.expStartDate2 + '-' + this.szForm.expEndDate2,
                      expWorkUnit:this.szForm.expWorkUnit2,
                      expDepartmentHeadAndTelephone:this.szForm.expDepartmentHeadAndTelephone2,
                      expPersonnelDepartmentPhone:this.szForm.expPersonnelDepartmentPhone2,
                    }
                  ],
                  /**
                   * 培训列表
                   * */
                  trainList:[
                    {
                      traTime:this.szForm.traStartDate + '-' + this.szForm.traEndDate,
                      traCourse:this.szForm.traCourse,
                      traNature:this.szForm.traNature,
                      traCertificate:this.szForm.traCertificate,
                    }
                  ],
                  /**
                   * 家庭成员列表
                   * */
                  familyList:[
                    {
                      famTitle:this.szForm.famTitle,
                      famAge:this.szForm.famAge,
                      famName:this.szForm.famName,
                      famWorkUnitAndAddress:this.szForm.famWorkUnitAndAddress,
                      famPhone:this.szForm.famPhone,
                    },{
                      famTitle:this.szForm.famTitle1,
                      famAge:this.szForm.famAge1,
                      famName:this.szForm.famName1,
                      famWorkUnitAndAddress:this.szForm.famWorkUnitAndAddress1,
                      famPhone:this.szForm.famPhone1,
                    },{
                      famTitle:this.szForm.famTitle2,
                      famAge:this.szForm.famAge2,
                      famName:this.szForm.famName2,
                      famWorkUnitAndAddress:this.szForm.famWorkUnitAndAddress2,
                      famPhone:this.szForm.famPhone2,
                    }
                  ],

        }

        ).then(res => {
          res.data;
          Toast("添加成功");
          this.goBack();
        }).catch(err => {
          console.log(err)
        });
      }else if(this.active == '1'){
        //提交事件
        this.$https.post('/mobiles/sysEmployeeEntryRegistrationAddItem',{
                  address:this.hfForm.address,
                  name:this.hfForm.name,
                  gender:this.hfForm.gender,
                  englishName:this.hfForm.englishName,
                  politicalStatus:this.hfForm.politicalStatus,
                  hometown:this.hfForm.hometown,
                  nationality:this.hfForm.nationality,
                  maritalStatus:this.hfForm.maritalStatus,
                  stateOfHealth:this.hfForm.stateOfHealth,
                  dateOfBirth:this.hfForm.dateOfBirth,
                  hobby:this.hfForm.hobby,
                  accountAddress:this.hfForm.accountAddress,
                  postcode:this.hfForm.postcode,
                  currentAddress:this.hfForm.currentAddress,
                  qqMailbox:this.hfForm.qqMailbox,
                  identificationNumber:this.hfForm.identificationNumber,
                  phone:this.hfForm.phone,
                  englishLevel:this.hfForm.englishLevel,
                  socialPhone:this.hfForm.socialPhone,
                  chinaMerchantsBankCardNumber:this.hfForm.chinaMerchantsBankCardNumber,
                  photo:this.hfForm.photo,
                  createTime:this.hfForm.createTime,
                  relationship:this.hfForm.relationship,
                  position:this.hfForm.position,

                  /**
                   * 个人学历列表
                   * */
                  educationList:[
                    {
                      eduStartEndDate:this.hfForm.eduStartDate + '-' + this.hfForm.eduEndDate,
                      eduGraduatedSchool:this.hfForm.eduGraduatedSchool,
                      eduProfession:this.hfForm.eduProfession,
                      eduDegree:this.hfForm.eduDegree,
                    },
                    {
                      eduStartEndDate:this.hfForm.eduStartDate1 + '-' + this.hfForm.eduEndDate1,
                      eduGraduatedSchool:this.hfForm.eduGraduatedSchool1,
                      eduProfession:this.hfForm.eduProfession1,
                      eduDegree:this.hfForm.eduDegree1,
                    },
                  ],
                  /**
                   * 个人经历列表
                   * */
                  experienceList:[
                    {
                      expStartEndTime:this.hfForm.expStartDate + '-' + this.hfForm.expEndDate,
                      expWorkUnit:this.hfForm.expWorkUnit,
                      expJobTitle:this.hfForm.expJobTitle,
                      expDepartmentHeadAndTelephone:this.hfForm.expDepartmentHeadAndTelephone,
                      expPersonnelDepartmentPhone:this.hfForm.expPersonnelDepartmentPhone,
                    },{
                      expStartEndTime:this.hfForm.expStartDate1 + '-' + this.hfForm.expEndDate1,
                      expWorkUnit:this.hfForm.expWorkUnit1,
                      expJobTitle:this.hfForm.expJobTitle1,
                      expDepartmentHeadAndTelephone:this.hfForm.expDepartmentHeadAndTelephone1,
                      expPersonnelDepartmentPhone:this.hfForm.expPersonnelDepartmentPhone1,
                    },{
                      expStartEndTime:this.hfForm.expStartDate2 + '-' + this.hfForm.expEndDate2,
                      expWorkUnit:this.hfForm.expWorkUnit2,
                      expJobTitle:this.hfForm.expJobTitle2,
                      expDepartmentHeadAndTelephone:this.hfForm.expDepartmentHeadAndTelephone2,
                      expPersonnelDepartmentPhone:this.hfForm.expPersonnelDepartmentPhone2,
                    }
                  ],
                  /**
                   * 培训列表
                   * */
                  trainList:[
                    {
                      traTime:this.hfForm.traStartDate + '-' + this.hfForm.traEndDate,
                      traCourse:this.hfForm.traCourse,
                      traNature:this.hfForm.traNature,
                      traCertificate:this.hfForm.traCertificate,
                    }
                  ],
                  /**
                   * 家庭成员列表
                   * */
                  familyList:[
                    {
                      famTitle:this.hfForm.famTitle,
                      famAge:this.hfForm.famAge,
                      famName:this.hfForm.famName,
                      famWorkUnitAndAddress:this.hfForm.famWorkUnitAndAddress,
                      famPhone:this.hfForm.famPhone,
                    },{
                      famTitle:this.hfForm.famTitle1,
                      famAge:this.hfForm.famAge1,
                      famName:this.hfForm.famName1,
                      famWorkUnitAndAddress:this.hfForm.famWorkUnitAndAddress1,
                      famPhone:this.hfForm.famPhone1,
                    },{
                      famTitle:this.hfForm.famTitle2,
                      famAge:this.hfForm.famAge2,
                      famName:this.hfForm.famName2,
                      famWorkUnitAndAddress:this.hfForm.famWorkUnitAndAddress2,
                      famPhone:this.hfForm.famPhone2,
                    }
                  ],
                  /**
                   * 紧急联系人列表
                   * */
                  emergencyList:[
                    {
                      emeName:this.hfForm.emeName,
                      emeRelation:this.hfForm.emeRelation,
                      emeWorkUnit:this.hfForm.emeWorkUnit,
                      emeAddress:this.hfForm.emeAddress,
                      emePhone:this.hfForm.emePhone,
                    },
                    {
                      emeName:this.hfForm.emeName1,
                      emeRelation:this.hfForm.emeRelation1,
                      emeWorkUnit:this.hfForm.emeWorkUnit1,
                      emeAddress:this.hfForm.emeAddress1,
                      emePhone:this.hfForm.emePhone1,
                    }
                  ],
        }

        ).then(res => {
          res.data;
          Toast("添加成功");
          this.goBack();
        }).catch(err => {
          console.log(err)
        });
      }else {
        //提交事件
        this.$https.post('/mobiles/sysEmployeeEntryRegistrationAddWHItem',{
                  name:this.whForm.name,
                  gender:this.whForm.gender,
                  englishName:this.whForm.englishName,
                  hometown:this.whForm.hometown,
                  nationality:this.whForm.nationality,
                  politicalStatus:this.whForm.politicalStatus,
                  maritalStatus:this.whForm.maritalStatus,
                  stateOfHealth:this.whForm.stateOfHealth,
                  dateOfBirth:this.whForm.dateOfBirth,
                  highestEducation:this.whForm.highestEducation,
                  hobby:this.whForm.hobby,
                  professionalSkills:this.whForm.professionalSkills,
                  accountAddress:this.whForm.accountAddress,
                  postcode:this.whForm.postcode,
                  currentAddress:this.whForm.currentAddress,
                  qqMailbox:this.whForm.qqMailbox,
                  identificationNumber:this.whForm.identificationNumber,
                  phone:this.whForm.phone,
                  recPerson:this.whForm.recPerson,
                  pfcNumber:this.whForm.pfcNumber,
                  socialPhone:this.whForm.socialPhone,
                  chinaMerchantsBankCardNumber:this.whForm.chinaMerchantsBankCardNumber,

                  photo:this.whForm.photo,
                  createTime:this.whForm.createTime,
                  emeName:this.whForm.emeName,
                  emeWorkUnit:this.whForm.emeWorkUnit,
                  emePhone:this.whForm.emePhone,
                  /**
                   * 认识的人列表
                   * */
                  relationshipList:[
                    {
                      knowName: this.whForm.knowName1,
                      relationship: this.whForm.relationship1
                    },
                    {
                      knowName: this.whForm.knowName2,
                      relationship: this.whForm.relationship2
                    }
                  ],
                  /**
                   * 个人学历列表
                   * */
                  educationList:[
                    {
                      eduStartEndDate:this.whForm.eduStartDate + '-' + this.whForm.eduEndDate,
                      eduGraduatedSchool:this.whForm.eduGraduatedSchool,
                      eduProfession:this.whForm.eduProfession,
                      eduDegree:this.whForm.eduDegree,
                    },
                    {
                      eduStartEndDate:this.whForm.eduStartDate1 + '-' + this.whForm.eduEndDate1,
                      eduGraduatedSchool:this.whForm.eduGraduatedSchool1,
                      eduProfession:this.whForm.eduProfession1,
                      eduDegree:this.whForm.eduDegree1,
                    },
                  ],
                  /**
                   * 个人经历列表
                   * */
                  experienceList:[
                    {
                      expStartEndTime:this.whForm.expStartDate + '-' + this.whForm.expEndDate,
                      expWorkUnit:this.whForm.expWorkUnit,
                      expDepartmentHeadAndTelephone:this.whForm.expDepartmentHeadAndTelephone,
                      expPersonnelDepartmentPhone:this.whForm.expPersonnelDepartmentPhone,
                    },{
                      expStartEndTime:this.whForm.expStartDate1 + '-' + this.whForm.expEndDate1,
                      expWorkUnit:this.whForm.expWorkUnit1,
                      expDepartmentHeadAndTelephone:this.whForm.expDepartmentHeadAndTelephone1,
                      expPersonnelDepartmentPhone:this.whForm.expPersonnelDepartmentPhone1,
                    },{
                      expStartEndTime:this.whForm.expStartDate2 + '-' + this.whForm.expEndDate2,
                      expWorkUnit:this.whForm.expWorkUnit2,
                      expDepartmentHeadAndTelephone:this.whForm.expDepartmentHeadAndTelephone2,
                      expPersonnelDepartmentPhone:this.whForm.expPersonnelDepartmentPhone2,
                    }
                  ],
                  /**
                   * 培训列表
                   * */
                  trainList:[
                    {
                      traTime:this.whForm.traStartDate + '-' + this.whForm.traEndDate,
                      traCourse:this.whForm.traCourse,
                      traNature:this.whForm.traNature,
                      traCertificate:this.whForm.traCertificate,
                    }
                  ],
                  /**
                   * 家庭成员列表
                   * */
                  familyList:[
                    {
                      famTitle:this.whForm.famTitle,
                      famAge:this.whForm.famAge,
                      famName:this.whForm.famName,
                      famWorkUnitAndAddress:this.whForm.famWorkUnitAndAddress,
                      famPhone:this.whForm.famPhone,
                    },{
                      famTitle:this.whForm.famTitle1,
                      famAge:this.whForm.famAge1,
                      famName:this.whForm.famName1,
                      famWorkUnitAndAddress:this.whForm.famWorkUnitAndAddress1,
                      famPhone:this.whForm.famPhone1,
                    },{
                      famTitle:this.whForm.famTitle2,
                      famAge:this.whForm.famAge2,
                      famName:this.whForm.famName2,
                      famWorkUnitAndAddress:this.whForm.famWorkUnitAndAddress2,
                      famPhone:this.whForm.famPhone2,
                    }
                  ],

                }

        ).then(res => {
          res.data;
          Toast("添加成功");
          this.goBack();
        }).catch(err => {
          console.log(err)
        });
      }
    },
  },
};
</script>

<style lang="scss" scoped>
.main {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  margin: 0 auto;
  .el-form {
    padding-right: 10px;
    .el-form-item {
      .el-form-item__label {
        line-height: 16px;
      }
      margin-bottom: 5px;
    }
  }
}
</style>
